package com.educate.device.dao;

import com.educate.device.dao.impl.DeviceStatusDaoImpl;
import com.educate.device.model.bo.DeviceStatusBO;
import com.educate.device.model.po.DeviceStatus;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface DeviceStatusDao extends MongoRepository<DeviceStatus, String> {

    /**
     * #{@link DeviceStatusDaoImpl#query(DeviceStatusBO, Pageable)}
     */
    Page<DeviceStatus> query(DeviceStatusBO bo, Pageable pageable);
}
